import java.net.InetAddress;


public class MemberProfile {
	
	private String Name;
	private InetAddress Address;
	private String Call_ID;
	private String Via;
	private String CSeq;
	//private int CSeqNum;
	private String From;
	private String To;
	private String Max_Forwards;
	private String Content_Type;
	//private String Content_length;
	private int port;
	private int RTPPort;
	private String Contact;
	private String SDP;
	
	private long[] o = new long[2];
	
	public MemberProfile(InetAddress Address, int port){
		this.Address = Address;
		this.port = port;
		init();
		
	}
	
	private void init(){
		SDP = "";
	}
	
	
	public void setProfile(String Name, String Call_ID,
			String Via, String CSeq, String From, String To,
			String Max_Forwards) {
		
		this.Name = Name;
		//this.IPAddress = IPAddress;
		this.Call_ID = Call_ID;
		this.Via = Via;
		this.CSeq = CSeq;
		//this.CSeqNum = CSeqNum;
		this.From = From;
		this.To = To;
		this.Max_Forwards = Max_Forwards;
		//this.Content_length = Content_length;

	}
	
	/*public void setIPAddress(String IPAdress){
		this.IPAddress = IPAdress;
	}*/
	
	public void setName(String Name){
		this.Name = Name;
	}
	
	
	public void setPort(int port){
		this.port = port;
	}
	
	public String getName(){
		return Name;
	}
	
	public int getPort(){
		return port;
	}
	
	public InetAddress getInetAdress(){
		return Address;
	}
	
	public void setCall_ID(String Call_ID){
		this.Call_ID = Call_ID;
	}
	
	public String getCall_ID(){
		return Call_ID;
	}
	
	public void setVia(String Via){
		this.Via = Via;
	}
	
	
	public String getVia(){
		return Via;
	}
	
	public void setCSeq(String CSeq){
		this.CSeq = CSeq;
	}
	
	
	public String getCSeq(){
		return CSeq;
	}
	
	/*public int getCSeqNum(){
		return CSeqNum;
	}*/
	
	public void setFrom(String From){
		this.From = From;
	}
	
	public String getFrom(){
		return From;
	}
	
	public void setTo(String To){
		this.To = To;
	}
	
	public String getTo(){
		return To;
	}
	
	public void setMaxForwards(String Max_Forwards){
		this.Max_Forwards = Max_Forwards;
	}
	
	public String getMaxFowards(){
		return Max_Forwards;
	}
	
	public void setContentType(String Content_Type){
		this.Content_Type = Content_Type;
	}
	
	public String getContentType(){
		return Content_Type;
	}
	
	public void seto(long o1, long o2){
		this.o[0] = o1;
		this.o[1] = o2;
	}
	
	public long[] geto(){
		return o;
	}
	
	public void setRTPPort(int port){
		this.RTPPort = port;
	}
	
	public int getRTPPort(){
		return RTPPort;
	}
	
	public void setContact(String Contact){
		this.Contact = Contact;
	}
	
	
	public String getContact(){
		return Contact;
	}
	/*public String getContentlength(){
		return Content_length;
	}*/
	
	public void SDPaddString(String input){
		this.SDP = this.SDP + input + "\r\n";
	}
	
	public String getSDP(){
		return SDP;
	}


}
